package com.etc.service;

import com.etc.entity.Household;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;
import java.util.Map;

public interface HouseholdService {
    public List<Household> findAllHousehold();

    public List<Household> findByAnyCondition(Map<String,Object> map);

    public Household findById(Integer id);

    public List<Household> findByRoom(Integer room_id);

    public List<Household> findInByTime(Date fromtime, Date totime);

    public List<Household> findOutByTime(Date fromtime, Date totime);

    public List<Household> findByPark(Integer id);

    public List<Household> findByBuilding(Integer id);

    public List<Household> findByOwner(Integer id);

}
